import service from "../../utils/request";

export function getPlants() {
  return service({
    url: "/Details/count",
    method: "get",
  });
}
export function getPlantsinfo(name) {
  return service({
    url: `/Details/query?plantname=${name}`,
    method: "get",
  });
}
export function getquerySD() {
  return service({
    url: `/Grow/querySD`,
    method: "get",
  });
}
export function getqueryJiaoShui() {
  return service({
    url: `/Grow/queryJiaoShui`,
    method: "get",
  });
}
export function getqueryCunHuo() {
  return service({
    url: `/Grow/queryCunHuo`,
    method: "get",
  });
}
